package pers.kw.service;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;
import pers.kw.config.oauth.context.MyParamValue;

import java.util.List;
import java.util.Map;

public interface UserDetailStrategy {

    User getUserInfoByMobile(String mobile, List<GrantedAuthority> authorities);

    Map<String, Object> initTokenInfo(MyParamValue paramValue);
}
